package com.example.aiinterview.repository;

import com.example.aiinterview.model.Interview;
import com.example.aiinterview.model.InterviewQuestion;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InterviewQuestionRepository extends JpaRepository<InterviewQuestion, Long> {
    List<InterviewQuestion> findByInterviewOrderByQuestionNumber(Interview interview);
}
